<? foreach ($this->userArray as $v) :?>
<table class="table1" style="width: 280px; float: left; margin: 10px;">
	<caption>
  <?=$v[0]['kename'] ?>
  </caption>
	<thead>
		<tr>
			<th>id</th>
			<th>姓名</th>
			<th>用户组</th>
			<th>Email</th>
		</tr>
	</thead>
	<tfoot>
		<tr>
			<th colspan="4"><a
				href="<?=$this->url(array('action'=>'msg','kid'=>$v[0]['kid'])) ?>">添加</a>
			</th>
		</tr>
	</tfoot>
	<tbody>
    <? foreach ($v as $vv) :?>
    <tr>
			<td style="width: 20px"><?=$vv["id"] ?></td>
			<td><a
				href="<?=$this->url(array('action'=>'msg','id'=>$vv['id'],'username'=>$vv['username'],'kid'=>$v[0]['kid'],'email'=>$vv['email'])) ?>">
        <?=$vv["username"] ?>
        </a></td>
			<td><?=$vv["group"] ?></td>
			<td><?=$vv["email"] ?></td>
		</tr>
    <? endforeach; ?>
  </tbody>
</table>
<? endforeach; ?>
